<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Voyager Backend - Admin detail</title>
<script type="text/javascript" src="../lib/angular/angular.min.js"></script>
<script src="http://code.angularjs.org/1.2.1/angular-route.min.js"></script>
<link rel="stylesheet" type="text/css" href="../app/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
	href="../app/css/bootstrap-responsive.min.css">
<link rel="stylesheet" type="text/css" href="../app/css/main.css">
<link rel="stylesheet" type="text/css"
	href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
</head>
<body ng-app="myApp">


		<div class="container">
			<div class="main row">
				<div class="col-xs-3" ng-controller="homeCtrl">
					<ul class="list-group">
						<li class="list-group-item"><a href="#/home"> <span
								class="glyphicon glyphicon-home"></span></a></li>

						<li ng-repeat="item in menu" class="list-group-item"><a
							href="{{item.href}}"> {{item.link}}</a></li>
                        <li class="list-group-item"><a href="#" ng-click="logout()"> <span
								class="glyphicon glyphicon-log-out"></span></a></li>

					</ul>
				</div>
				<div class="col-xs-9 panel panel-default" ng-controller="interest_detail_Ctrl"
					data-ng-init="init()">


					<div>
						<caption>
							<h1>{{text}}</h1>
						</caption>

                        <div class="form-group">
							<label class="col-sm-9 control-label"></label>
							<div class="col-sm-3">
								<p class="form-control-static">  <!--
									<a href="#/event" ng-click="return_to_event_detail(null,1)"> <span
										class="glyphicon glyphicon-arrow-left"></span></a>  -->
										
										<a href back-button ><span
										class="glyphicon glyphicon-arrow-left"></span></a>
								</p>
							</div>
						</div>
						
						<form name="interestForm" method="POST" novalidate>
						
							<div class="form-group">
								<label class="col-sm-2 control-label" id="label">Interest</label>
								<div class="col-sm-10">
									<p class="form-control-static" style="padding-top: 0px;">
									  <input type="text" name="interest" ng-model="interest" required>
									  
									  <span style="color:red" ng-show="interestForm.interest.$dirty && interestForm.interest.$invalid">
										  <span ng-show="interestForm.interest.$error.required">Interest is required.</span>
									   </span>
									  
									</p>
								</div>
							</div>
						
						
						   
						  
						   <div class="form-group">
								<label class="col-sm-2 control-label"  id="label"></label>
								<div class="col-sm-10">
									<p class="form-control-static" style="padding-top: 0px;">
									
									<button 
											ng-disabled="interestForm.interest.$dirty && interestForm.interest.$invalid"
											ng-click="submit()" class="btn btn-success">Submit</button>
									
									</p>
								</div>
							</div>
						</form>
						

					</div>
				</div>




			</div>
		</div>

</body>
</html>